package com.jiao.dao;

import com.jiao.bean.TBao;
import com.jiao.bean.TBaoQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TBaoDao {
    int countByExample(TBaoQuery example);

    int deleteByExample(TBaoQuery example);

    int deleteByPrimaryKey(Integer id);

    int insert(TBao record);

    int insertSelective(TBao record);

    List<TBao> selectByExample(TBaoQuery example);

    TBao selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TBao record, @Param("example") TBaoQuery example);

    int updateByExample(@Param("record") TBao record, @Param("example") TBaoQuery example);

    int updateByPrimaryKeySelective(TBao record);

    int updateByPrimaryKey(TBao record);
}